This problem is modeled as a classic model in dynamic programming and is known as a blending problem or cutting stock problem.
3.
They say the costs of making the gasoline-- about a third of all gasoline sold-- is higher than anticipated because of blending problems, especially where corn-based ethanol is used as an additive.